/**
 * 查询参数
 */
export interface ChatQuery {
  knowledge_base_id?: string;
  question: string;
  streaming: boolean;
}

export interface ChatTestQuery {
  model?: string;
  messages: any;
  temperature?: number;
  stream?: boolean;
}

export interface DeleteFileQuery {
  knowledge_base_id: string;
  doc_name: string;
}

/**
 * 返回值
 */
export interface ChatVO {
  question: string;
  response: string;
  history: [];
  source_documents: [];
}

export interface FileForm {
  // 用户编号作为知识库
  knowledgeId?: string;
}
